Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009434/0.0009435, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.6 MB / 243.1 MB, free: 14.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008154/0.0008153, allocations: 111.8 kB / 295.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1907/0.1907, allocations: 44.84 MB / 392 MB, free: 9.289 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002437/0.0002437, allocations: 4 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.0987, allocations: 62.96 MB / 0.5153 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002477/0.1012, allocations: 2.164 MB / 0.5174 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1865/0.2877, allocations: 0.611 MB / 0.518 GB, free: 9.816 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.288, allocations: 4.25 kB / 0.518 GB, free: 9.816 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.2882, allocations: 27.44 kB / 0.5181 GB, free: 9.816 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.2883, allocations: 62.06 kB / 0.5181 GB, free: 9.816 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.2886, allocations: 49.02 kB / 0.5182 GB, free: 9.816 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.2889, allocations: 265.3 kB / 0.5184 GB, free: 9.793 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.2891, allocations: 69.12 kB / 0.5185 GB, free: 9.785 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.2893, allocations: 101.6 kB / 0.5186 GB, free: 9.762 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.2895, allocations: 101.9 kB / 0.5187 GB, free: 9.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.2895, allocations: 15 kB / 0.5187 GB, free: 9.738 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.759e-05/0.2896, allocations: 14.89 kB / 0.5187 GB, free: 9.738 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.2897, allocations: 40.67 kB / 0.5187 GB, free: 9.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.2897, allocations: 71.28 kB / 0.5188 GB, free: 9.691 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.29, allocations: 201.8 kB / 0.519 GB, free: 9.676 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.29, allocations: 1.281 kB / 0.519 GB, free: 9.676 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.29, allocations: 0 / 0.519 GB, free: 9.676 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.29, allocations: 4 kB / 0.519 GB, free: 9.672 MB / 346.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.0006233/0.2906, allocations: 0.4983 MB / 0.5195 GB, free: 9.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2907, allocations: 9.406 kB / 0.5195 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.2908, allocations: 41.7 kB / 0.5195 GB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.2911, allocations: 250.9 kB / 0.5198 GB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.2911, allocations: 15.94 kB / 0.5198 GB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.2911, allocations: 23.45 kB / 0.5198 GB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.2915, allocations: 188.2 kB / 0.52 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2915, allocations: 0.7969 kB / 0.52 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.2916, allocations: 13.03 kB / 0.52 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.2916, allocations: 5.656 kB / 0.52 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.2918, allocations: 149 kB / 0.5202 GB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.293, allocations: 0.8155 MB / 0.521 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.2932, allocations: 95.33 kB / 0.521 GB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.837e-05/0.2933, allocations: 49.16 kB / 0.5211 GB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.2933, allocations: 5.25 kB / 0.5211 GB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.2933, allocations: 33.31 kB / 0.5211 GB, free: 8.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2933, allocations: 0 / 0.5211 GB, free: 8.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001556/0.2949, allocations: 0.7507 MB / 0.5219 GB, free: 8.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.2949, allocations: 54.66 kB / 0.5219 GB, free: 8.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.2951, allocations: 206.4 kB / 0.5221 GB, free: 7.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2951, allocations: 28.89 kB / 0.5221 GB, free: 7.898 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.2952, allocations: 172.5 kB / 0.5223 GB, free: 7.773 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2952, allocations: 58.19 kB / 0.5224 GB, free: 7.734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.2953, allocations: 4.625 kB / 0.5224 GB, free: 7.734 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.2953, allocations: 332.5 kB / 0.5227 GB, free: 7.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2954, allocations: 62.47 kB / 0.5227 GB, free: 7.422 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.2956, allocations: 117.3 kB / 0.5229 GB, free: 7.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.2958, allocations: 73.34 kB / 0.5229 GB, free: 7.363 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2958, allocations: 4 kB / 0.5229 GB, free: 7.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004746/0.2962, allocations: 285.4 kB / 0.5232 GB, free: 7.285 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2963, allocations: 12.42 kB / 0.5232 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2963, allocations: 1.094 kB / 0.5232 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/0.2965, allocations: 67.25 kB / 0.5233 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.2967, allocations: 39.33 kB / 0.5233 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.2982, allocations: 2.801 MB / 0.526 GB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.2984, allocations: 12.47 kB / 0.5261 GB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.2984, allocations: 16.28 kB / 0.5261 GB, free: 4.719 MB / 346.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.000108/0.2985, allocations: 139.1 kB / 0.5262 GB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.2986, allocations: 22.38 kB / 0.5262 GB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.2986, allocations: 27.14 kB / 0.5263 GB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2986, allocations: 1.281 kB / 0.5263 GB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2986, allocations: 2.125 kB / 0.5263 GB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2987, allocations: 1.969 kB / 0.5263 GB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.2989, allocations: 287.2 kB / 0.5265 GB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.299, allocations: 0.9375 kB / 0.5265 GB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.615e-05/0.2991, allocations: 22.06 kB / 0.5266 GB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001839/0.2992, allocations: 69.23 kB / 0.5266 GB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.2993, allocations: 5.219 kB / 0.5266 GB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.3007, allocations: 2.793 MB / 0.5294 GB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3008, allocations: 1.906 kB / 0.5294 GB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.3013, allocations: 409 kB / 0.5297 GB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.3014, allocations: 95.23 kB / 0.5298 GB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.3014, allocations: 5.312 kB / 0.5298 GB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3016, allocations: 21.45 kB / 0.5299 GB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.3016, allocations: 17.09 kB / 0.5299 GB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3016, allocations: 4.719 kB / 0.5299 GB, free: 1.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.3018, allocations: 150.7 kB / 0.53 GB, free: 1.176 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3018, allocations: 0 / 0.53 GB, free: 1.176 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.3021, allocations: 64.16 kB / 0.5301 GB, free: 1.168 MB / 346.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 8.789e-05/0.3022, allocations: 106.7 kB / 0.5302 GB, free: 1.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005498/0.3027, allocations: 415.5 kB / 0.5306 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3027, allocations: 1.562 kB / 0.5306 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.3031, allocations: 340.2 kB / 0.5309 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3034, allocations: 33.7 kB / 0.5309 GB, free: 0.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/0.3043, allocations: 0.636 MB / 0.5316 GB, free: 80 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.3046, allocations: 0.7504 MB / 0.5323 GB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.3047, allocations: 21.8 kB / 0.5323 GB, free: 15.36 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3047, allocations: 0 / 0.5323 GB, free: 15.36 MB / 362.7 MB Notification: Performance of Templates: time 0.006642/0.3113, allocations: 4.489 MB / 0.5367 GB, free: 15.04 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer --alarm=480 > ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)