Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008459/0.008458, allocations: 175.8 kB / 15.12 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.864/1.864, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001789/0.001789, allocations: 120.6 kB / 255.6 MB, free: 10.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2162/0.2162, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004039, allocations: 18.33 kB / 406.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 54.87 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.2498, allocations: 82.25 MB / 0.5305 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.2502, allocations: 63.97 kB / 0.5306 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2696/0.5198, allocations: 3.866 MB / 0.5344 GB, free: 83.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.5198, allocations: 0 / 0.5344 GB, free: 83.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.5199, allocations: 8.969 kB / 0.5344 GB, free: 83.14 MB / 378.7 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.0008119/0.5207, allocations: 0.5093 MB / 0.5349 GB, free: 82.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.5208, allocations: 6.062 kB / 0.5349 GB, free: 82.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.185e-05/0.5209, allocations: 34.91 kB / 0.5349 GB, free: 82.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.5212, allocations: 246.7 kB / 0.5352 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.5212, allocations: 15.12 kB / 0.5352 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.5213, allocations: 17.94 kB / 0.5352 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.5217, allocations: 191.9 kB / 0.5354 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.5217, allocations: 1.484 kB / 0.5354 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.5218, allocations: 10.95 kB / 0.5354 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.5218, allocations: 8.672 kB / 0.5354 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.5221, allocations: 152.6 kB / 0.5355 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.5237, allocations: 0.818 MB / 0.5363 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.5239, allocations: 95.59 kB / 0.5364 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.524, allocations: 1.25 kB / 0.5364 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.524, allocations: 41.08 kB / 0.5365 GB, free: 81.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.524, allocations: 0 / 0.5365 GB, free: 81.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001869/0.5259, allocations: 0.7439 MB / 0.5372 GB, free: 81.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.5259, allocations: 53.52 kB / 0.5372 GB, free: 81.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.5262, allocations: 185.8 kB / 0.5374 GB, free: 81.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.5262, allocations: 27.23 kB / 0.5374 GB, free: 81.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.5263, allocations: 167.7 kB / 0.5376 GB, free: 81.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.5264, allocations: 62.09 kB / 0.5377 GB, free: 81.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.5264, allocations: 9.125 kB / 0.5377 GB, free: 81.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5265, allocations: 329.4 kB / 0.538 GB, free: 80.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.5267, allocations: 62.61 kB / 0.538 GB, free: 80.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.5269, allocations: 108.6 kB / 0.5381 GB, free: 80.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.5271, allocations: 75.58 kB / 0.5382 GB, free: 80.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5272, allocations: 1.156 kB / 0.5382 GB, free: 80.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006854/0.5279, allocations: 291.7 kB / 0.5385 GB, free: 80.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.5279, allocations: 5.844 kB / 0.5385 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.5279, allocations: 1.984 kB / 0.5385 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.5282, allocations: 71.66 kB / 0.5386 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.5284, allocations: 35.75 kB / 0.5386 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.5309, allocations: 2.836 MB / 0.5414 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.531, allocations: 11.33 kB / 0.5414 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.5311, allocations: 7.891 kB / 0.5414 GB, free: 78.18 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.5313, allocations: 131 kB / 0.5415 GB, free: 78.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.5313, allocations: 26.44 kB / 0.5415 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.59e-05/0.5314, allocations: 23.77 kB / 0.5416 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5314, allocations: 2.078 kB / 0.5416 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.5314, allocations: 5.344 kB / 0.5416 GB, free: 78.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.5314, allocations: 6.922 kB / 0.5416 GB, free: 78.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.5319, allocations: 285.3 kB / 0.5419 GB, free: 77.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.5319, allocations: 4.594 kB / 0.5419 GB, free: 77.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.5321, allocations: 21.92 kB / 0.5419 GB, free: 77.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.5323, allocations: 72.39 kB / 0.542 GB, free: 77.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.5324, allocations: 4.828 kB / 0.542 GB, free: 77.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.5343, allocations: 2.815 MB / 0.5447 GB, free: 75.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5343, allocations: 3.953 kB / 0.5447 GB, free: 75.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006744/0.535, allocations: 401.9 kB / 0.5451 GB, free: 74.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.5351, allocations: 92.3 kB / 0.5452 GB, free: 74.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.5351, allocations: 5.156 kB / 0.5452 GB, free: 74.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.5353, allocations: 16.58 kB / 0.5452 GB, free: 74.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.5354, allocations: 17.23 kB / 0.5452 GB, free: 74.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.5354, allocations: 8.297 kB / 0.5452 GB, free: 74.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.5356, allocations: 150.6 kB / 0.5454 GB, free: 74.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5356, allocations: 0 / 0.5454 GB, free: 74.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004269/0.536, allocations: 65.53 kB / 0.5454 GB, free: 74.75 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001419/0.5362, allocations: 108.2 kB / 0.5455 GB, free: 74.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007269/0.5369, allocations: 415.1 kB / 0.5459 GB, free: 74.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5369, allocations: 0 / 0.5459 GB, free: 74.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.5374, allocations: 341.2 kB / 0.5463 GB, free: 74.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.5376, allocations: 26.11 kB / 0.5463 GB, free: 74.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.5388, allocations: 0.6095 MB / 0.5469 GB, free: 73.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.539, allocations: 0.7526 MB / 0.5476 GB, free: 72.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.5391, allocations: 18.06 kB / 0.5476 GB, free: 72.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.5392, allocations: 14.92 kB / 0.5476 GB, free: 72.96 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5392, allocations: 1.375 kB / 0.5476 GB, free: 72.96 MB / 378.7 MB Notification: Performance of Templates: time 0.006116/0.5453, allocations: 2.446 MB / 0.55 GB, free: 72.24 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1)