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.001517/0.001517, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.6 MB / 243.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009548/0.0009548, allocations: 99.19 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3475/0.3475, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002789, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3095, allocations: 62.96 MB / 0.5159 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.001931/0.3114, allocations: 2.169 MB / 0.518 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007871/0.3122, allocations: 0.6134 MB / 0.5186 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3124, allocations: 5.531 kB / 0.5186 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.3125, allocations: 24.58 kB / 0.5186 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.3126, allocations: 69.69 kB / 0.5187 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.3128, allocations: 49.98 kB / 0.5187 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.313, allocations: 268.4 kB / 0.519 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.3132, allocations: 77.25 kB / 0.5191 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.3134, allocations: 96.09 kB / 0.5191 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3135, allocations: 103.7 kB / 0.5192 GB, free: 34.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.3135, allocations: 14.12 kB / 0.5193 GB, free: 34.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-05/0.3136, allocations: 22.59 kB / 0.5193 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.3136, allocations: 39.62 kB / 0.5193 GB, free: 34.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.819e-05/0.3137, allocations: 130.5 kB / 0.5194 GB, free: 34.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.3139, allocations: 205.9 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3139, allocations: 8 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3139, allocations: 0 / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3139, allocations: 0 / 0.5196 GB, free: 34.45 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.0006056/0.3145, allocations: 0.4944 MB / 0.5201 GB, free: 34.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3146, allocations: 11.47 kB / 0.5201 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.3147, allocations: 35.47 kB / 0.5202 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.315, allocations: 250.8 kB / 0.5204 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.315, allocations: 13.84 kB / 0.5204 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.315, allocations: 20.16 kB / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.3153, allocations: 203.2 kB / 0.5206 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3153, allocations: 0 / 0.5206 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.3154, allocations: 8 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3154, allocations: 7.344 kB / 0.5207 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.3156, allocations: 144.3 kB / 0.5208 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.3167, allocations: 0.8112 MB / 0.5216 GB, free: 33.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.3168, allocations: 98.56 kB / 0.5217 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/0.3169, allocations: 57.23 kB / 0.5217 GB, free: 32.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.317, allocations: 0 / 0.5217 GB, free: 32.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.317, allocations: 33.19 kB / 0.5218 GB, free: 32.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.317, allocations: 0 / 0.5218 GB, free: 32.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001454/0.3185, allocations: 0.7595 MB / 0.5225 GB, free: 32.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.3185, allocations: 54.12 kB / 0.5226 GB, free: 32.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3186, allocations: 207 kB / 0.5228 GB, free: 32.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3187, allocations: 30.36 kB / 0.5228 GB, free: 32.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.3187, allocations: 169.8 kB / 0.5229 GB, free: 32.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.3188, allocations: 48.27 kB / 0.523 GB, free: 32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.3188, allocations: 7 kB / 0.523 GB, free: 31.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.3188, allocations: 332.2 kB / 0.5233 GB, free: 31.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.319, allocations: 69.31 kB / 0.5234 GB, free: 31.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3191, allocations: 109.6 kB / 0.5235 GB, free: 31.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.3194, allocations: 181.7 kB / 0.5237 GB, free: 31.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3194, allocations: 0 / 0.5237 GB, free: 31.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004638/0.3198, allocations: 293.2 kB / 0.5239 GB, free: 31.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3199, allocations: 5.781 kB / 0.5239 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3199, allocations: 0 / 0.5239 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/0.3201, allocations: 73.05 kB / 0.524 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.3203, allocations: 33.09 kB / 0.524 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.3219, allocations: 2.812 MB / 0.5268 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.3221, allocations: 13.41 kB / 0.5268 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.3221, allocations: 12.09 kB / 0.5268 GB, free: 28.52 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.0001023/0.3222, allocations: 128.7 kB / 0.5269 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.3222, allocations: 19.97 kB / 0.527 GB, free: 28.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.3223, allocations: 31.45 kB / 0.527 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3223, allocations: 4 kB / 0.527 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.3223, allocations: 2.656 kB / 0.527 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3223, allocations: 0 / 0.527 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.3225, allocations: 282.9 kB / 0.5273 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3225, allocations: 0 / 0.5273 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/0.3226, allocations: 22.53 kB / 0.5273 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001539/0.3228, allocations: 70.48 kB / 0.5274 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3228, allocations: 7.938 kB / 0.5274 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.3242, allocations: 2.795 MB / 0.5301 GB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3242, allocations: 0 / 0.5301 GB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/0.3247, allocations: 412.5 kB / 0.5305 GB, free: 25.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.3248, allocations: 94.27 kB / 0.5306 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.3248, allocations: 4 kB / 0.5306 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.325, allocations: 21.23 kB / 0.5306 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.325, allocations: 20.09 kB / 0.5306 GB, free: 24.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.325, allocations: 5.594 kB / 0.5306 GB, free: 24.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.645e-05/0.3251, allocations: 155.8 kB / 0.5308 GB, free: 24.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3251, allocations: 0 / 0.5308 GB, free: 24.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003114/0.3255, allocations: 63.12 kB / 0.5308 GB, free: 24.86 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 8.616e-05/0.3255, allocations: 99 kB / 0.5309 GB, free: 24.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005336/0.3261, allocations: 420.5 kB / 0.5313 GB, free: 24.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3261, allocations: 0 / 0.5313 GB, free: 24.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.3264, allocations: 336.8 kB / 0.5316 GB, free: 24.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.3268, allocations: 39.69 kB / 0.5317 GB, free: 24.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007696/0.3275, allocations: 0.6258 MB / 0.5323 GB, free: 23.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.3277, allocations: 0.7513 MB / 0.533 GB, free: 23.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.3278, allocations: 21.83 kB / 0.5331 GB, free: 23.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3278, allocations: 0 / 0.5331 GB, free: 23.05 MB / 378.7 MB Notification: Performance of Templates: time 0.005151/0.3329, allocations: 4.481 MB / 0.5374 GB, free: 22.73 MB / 378.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)