Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009535/0.0009535, allocations: 93.58 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 203.1 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.201/0.201, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002743, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 63.57 MB / 483.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002811/0.1175, allocations: 2.261 MB / 486 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1188, allocations: 0.6584 MB / 486.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.119, allocations: 7.938 kB / 486.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.1191, allocations: 31.77 kB / 486.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.1193, allocations: 59.47 kB / 486.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.1196, allocations: 67.94 kB / 486.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.1199, allocations: 278.7 kB / 487.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.1201, allocations: 76.95 kB / 487.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.1203, allocations: 99.58 kB / 487.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.1205, allocations: 111.5 kB / 487.4 MB, free: 480 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.1205, allocations: 12 kB / 487.4 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.361e-05/0.1206, allocations: 16 kB / 487.4 MB, free: 452 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.1206, allocations: 43.83 kB / 487.4 MB, free: 408 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.1207, allocations: 133.1 kB / 487.6 MB, free: 268 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1209, allocations: 215.6 kB / 487.8 MB, free: 52 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1209, allocations: 0 / 487.8 MB, free: 52 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.121, allocations: 0 / 487.8 MB, free: 52 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.121, allocations: 0 / 487.8 MB, free: 52 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007597/0.1217, allocations: 0.4952 MB / 488.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1218, allocations: 8.875 kB / 488.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.122, allocations: 44.55 kB / 488.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.1223, allocations: 243.9 kB / 488.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1223, allocations: 16.81 kB / 488.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.1223, allocations: 20.38 kB / 488.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.1228, allocations: 195.6 kB / 488.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1228, allocations: 0 / 488.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.1228, allocations: 12 kB / 488.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1228, allocations: 4 kB / 488.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.1231, allocations: 145.6 kB / 488.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.1245, allocations: 0.8181 MB / 489.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1247, allocations: 106.4 kB / 489.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1248, allocations: 48.84 kB / 489.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1249, allocations: 3.938 kB / 489.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1249, allocations: 34.56 kB / 490 MB, free: 13.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1249, allocations: 0 / 490 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001901/0.1268, allocations: 0.7493 MB / 490.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1269, allocations: 55.39 kB / 490.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.1271, allocations: 214.9 kB / 491 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1272, allocations: 29.8 kB / 491 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1273, allocations: 171.8 kB / 491.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.1274, allocations: 63.17 kB / 491.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.1274, allocations: 21.72 kB / 491.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1275, allocations: 338.8 kB / 491.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1277, allocations: 63.97 kB / 491.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1279, allocations: 105.1 kB / 491.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.1282, allocations: 191.2 kB / 491.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1282, allocations: 0 / 491.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005382/0.1287, allocations: 287 kB / 492.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1288, allocations: 4 kB / 492.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1288, allocations: 4 kB / 492.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.129, allocations: 65.67 kB / 492.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.1292, allocations: 39.91 kB / 492.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.1315, allocations: 2.805 MB / 495.1 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1316, allocations: 12.03 kB / 495.1 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1316, allocations: 4 kB / 495.1 MB, free: 8.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.1318, allocations: 141.8 kB / 495.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.1318, allocations: 19.81 kB / 495.3 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.1319, allocations: 29.8 kB / 495.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1319, allocations: 0 / 495.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.1319, allocations: 4 kB / 495.3 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1319, allocations: 0 / 495.3 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.1323, allocations: 281.5 kB / 495.6 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1323, allocations: 192 / 495.6 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.382e-05/0.1324, allocations: 27.98 kB / 495.6 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001801/0.1325, allocations: 73.61 kB / 495.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1326, allocations: 3.938 kB / 495.7 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.1346, allocations: 2.8 MB / 498.5 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1347, allocations: 3.938 kB / 498.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.1353, allocations: 427.2 kB / 498.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/0.1354, allocations: 92.91 kB / 499 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1354, allocations: 4 kB / 499 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1356, allocations: 20.05 kB / 499 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.1357, allocations: 15.98 kB / 499.1 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1357, allocations: 7.984 kB / 499.1 MB, free: 3.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1358, allocations: 156.4 kB / 499.2 MB, free: 3.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1358, allocations: 0 / 499.2 MB, free: 3.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.1362, allocations: 64 kB / 499.3 MB, free: 3.555 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001142/0.1363, allocations: 99.25 kB / 499.4 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006482/0.137, allocations: 420 kB / 499.8 MB, free: 3.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.137, allocations: 4.312 kB / 499.8 MB, free: 3.008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004292/0.1374, allocations: 325.3 kB / 0.4884 GB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1378, allocations: 43.72 kB / 0.4884 GB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000987/0.1388, allocations: 0.6693 MB / 0.4891 GB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1391, allocations: 0.748 MB / 0.4898 GB, free: 1.148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.1391, allocations: 19.42 kB / 0.4898 GB, free: 1.133 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1391, allocations: 0 / 0.4898 GB, free: 1.133 MB / 366.1 MB Notification: Performance of Templates: time 0.0065/0.1456, allocations: 4.524 MB / 0.4943 GB, free: 12.61 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)