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: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00115/0.00115, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 79.86 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3324, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003494/0.3359, allocations: 2.58 MB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.337, allocations: 0.6604 MB / 0.5336 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3371, allocations: 4.125 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.3373, allocations: 47.08 kB / 0.5337 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.3374, allocations: 71.83 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.3377, allocations: 77.06 kB / 0.5338 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.338, allocations: 290.7 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.3382, allocations: 86.44 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.3384, allocations: 122.4 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3386, allocations: 117.8 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.3387, allocations: 29.88 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-05/0.3387, allocations: 30.12 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.3388, allocations: 53.33 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.3389, allocations: 124.7 kB / 0.5347 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.3392, allocations: 292.8 kB / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3392, allocations: 0 / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3392, allocations: 0 / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.3392, allocations: 0 / 0.5349 GB, free: 9.938 MB / 398.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.0007512/0.34, allocations: 0.5335 MB / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.34, allocations: 9.906 kB / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.3401, allocations: 58.09 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.3402, allocations: 32.22 kB / 0.5356 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.3406, allocations: 261.7 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.3406, allocations: 13 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.3406, allocations: 22.06 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.341, allocations: 197.9 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.341, allocations: 0 / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.341, allocations: 6.312 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.3411, allocations: 5.781 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.3414, allocations: 140.7 kB / 0.5362 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.3426, allocations: 0.8118 MB / 0.537 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.3428, allocations: 95.95 kB / 0.5371 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.943e-05/0.3429, allocations: 47.22 kB / 0.5371 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.3429, allocations: 1.312 kB / 0.5371 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3429, allocations: 39.94 kB / 0.5371 GB, free: 8.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3429, allocations: 0 / 0.5371 GB, free: 8.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001676/0.3446, allocations: 0.7172 MB / 0.5378 GB, free: 7.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.3446, allocations: 53.88 kB / 0.5379 GB, free: 7.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.3448, allocations: 214.6 kB / 0.5381 GB, free: 7.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3449, allocations: 31.95 kB / 0.5381 GB, free: 7.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.424e-05/0.345, allocations: 168.4 kB / 0.5383 GB, free: 7.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.345, allocations: 49.98 kB / 0.5383 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.3451, allocations: 44.2 kB / 0.5384 GB, free: 7.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3452, allocations: 338.3 kB / 0.5387 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3454, allocations: 60.34 kB / 0.5388 GB, free: 6.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.3455, allocations: 112 kB / 0.5389 GB, free: 6.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.3458, allocations: 178.5 kB / 0.539 GB, free: 6.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3458, allocations: 0 / 0.539 GB, free: 6.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005053/0.3464, allocations: 279.7 kB / 0.5393 GB, free: 6.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3464, allocations: 9.719 kB / 0.5393 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3464, allocations: 5.234 kB / 0.5393 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/0.3466, allocations: 71.98 kB / 0.5394 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.3468, allocations: 32.05 kB / 0.5394 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.3492, allocations: 3.02 MB / 0.5424 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.3493, allocations: 8.969 kB / 0.5424 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3494, allocations: 5.25 kB / 0.5424 GB, free: 3.188 MB / 398.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.000152/0.3495, allocations: 149.9 kB / 0.5425 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.3496, allocations: 18.25 kB / 0.5425 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.3496, allocations: 25.02 kB / 0.5426 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3496, allocations: 2.031 kB / 0.5426 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3496, allocations: 2.188 kB / 0.5426 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3496, allocations: 0 / 0.5426 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.35, allocations: 284.1 kB / 0.5428 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.35, allocations: 0 / 0.5428 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.509e-05/0.3501, allocations: 20.86 kB / 0.5429 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.3503, allocations: 72.77 kB / 0.5429 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3503, allocations: 1.375 kB / 0.5429 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.3525, allocations: 3.023 MB / 0.5459 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3525, allocations: 0 / 0.5459 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006363/0.3532, allocations: 399.9 kB / 0.5463 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.3533, allocations: 97.72 kB / 0.5463 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.3533, allocations: 1.094 kB / 0.5464 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3535, allocations: 18.39 kB / 0.5464 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.3535, allocations: 10.17 kB / 0.5464 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.3536, allocations: 12.47 kB / 0.5464 GB, free: 15.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.3537, allocations: 147.9 kB / 0.5465 GB, free: 15.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3537, allocations: 0 / 0.5465 GB, free: 15.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003594/0.3541, allocations: 63.94 kB / 0.5466 GB, free: 15.11 MB / 414.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.0009313/0.355, allocations: 0.935 MB / 0.5475 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006691/0.3557, allocations: 397.8 kB / 0.5479 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3557, allocations: 0 / 0.5479 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.3561, allocations: 333.8 kB / 0.5482 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.3565, allocations: 29.83 kB / 0.5482 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.3598, allocations: 2.479 MB / 0.5507 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3601, allocations: 0.7505 MB / 0.5514 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.43e-05/0.3602, allocations: 22.12 kB / 0.5514 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.839e-05/0.3603, allocations: 68.75 kB / 0.5515 GB, free: 10.91 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3603, allocations: 0 / 0.5515 GB, free: 10.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.3882, allocations: 5.09 MB / 0.5564 GB, free: 6.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.72/10.11, allocations: 15.59 kB / 0.5565 GB, free: 6.078 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)