Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 114.2 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 197.3 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1838/0.1838, allocations: 38.04 MB / 329.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 457.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3232, allocations: 58.06 MB / 0.5036 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006691/0.3299, allocations: 5.393 MB / 0.5089 GB, free: 3.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005067/0.335, allocations: 4.149 MB / 0.513 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003894/0.3354, allocations: 23.88 kB / 0.513 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009721/0.3452, allocations: 4.849 MB / 0.5177 GB, free: 15.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.3464, allocations: 332.5 kB / 0.518 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007623/0.3472, allocations: 253.1 kB / 0.5183 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002289/0.3495, allocations: 1.563 MB / 0.5198 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006352/0.3501, allocations: 393.7 kB / 0.5202 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005107/0.3506, allocations: 369.3 kB / 0.5205 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006586/0.3513, allocations: 445.5 kB / 0.5209 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.314e-05/0.3514, allocations: 45.38 kB / 0.521 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.3517, allocations: 124.6 kB / 0.5211 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003582/0.3521, allocations: 274.5 kB / 0.5214 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000399/0.3525, allocations: 325.8 kB / 0.5217 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.3537, allocations: 0.7453 MB / 0.5224 GB, free: 13.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3537, allocations: 1.281 kB / 0.5224 GB, free: 13.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3537, allocations: 0 / 0.5224 GB, free: 13.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.3538, allocations: 0 / 0.5224 GB, free: 13.53 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001792/0.3556, allocations: 0.929 MB / 0.5233 GB, free: 12.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3556, allocations: 9.438 kB / 0.5233 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.3557, allocations: 89.14 kB / 0.5234 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/0.3562, allocations: 95.67 kB / 0.5235 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.3574, allocations: 0.5616 MB / 0.5241 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.3574, allocations: 34.58 kB / 0.5241 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.906e-05/0.3575, allocations: 52.09 kB / 0.5241 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.3587, allocations: 0.6534 MB / 0.5248 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.3587, allocations: 1.125 kB / 0.5248 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.3587, allocations: 16.75 kB / 0.5248 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/0.3589, allocations: 49.06 kB / 0.5248 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008053/0.3597, allocations: 493.9 kB / 0.5253 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003571/0.3633, allocations: 2.528 MB / 0.5278 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.3638, allocations: 312.4 kB / 0.5281 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.3641, allocations: 192.5 kB / 0.5283 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.3641, allocations: 3.938 kB / 0.5283 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.3642, allocations: 40.53 kB / 0.5283 GB, free: 9.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.164e-06/0.3642, allocations: 0 / 0.5283 GB, free: 9.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.002684/0.3669, allocations: 1.652 MB / 0.5299 GB, free: 8.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.367, allocations: 110.4 kB / 0.53 GB, free: 8.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.3675, allocations: 427.6 kB / 0.5304 GB, free: 7.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.3675, allocations: 34.8 kB / 0.5305 GB, free: 7.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.3677, allocations: 309.6 kB / 0.5308 GB, free: 7.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.3679, allocations: 134.6 kB / 0.5309 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.368, allocations: 89.95 kB / 0.531 GB, free: 7.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3682, allocations: 362.6 kB / 0.5313 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.3685, allocations: 166.7 kB / 0.5315 GB, free: 7.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.3689, allocations: 306.6 kB / 0.5318 GB, free: 6.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.3696, allocations: 484.8 kB / 0.5322 GB, free: 6.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3697, allocations: 1.219 kB / 0.5322 GB, free: 6.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001453/0.3711, allocations: 0.8014 MB / 0.533 GB, free: 5.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.3711, allocations: 6.375 kB / 0.533 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3712, allocations: 5.312 kB / 0.533 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006742/0.3718, allocations: 209.9 kB / 0.5332 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.3722, allocations: 83.02 kB / 0.5333 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005019/0.3772, allocations: 4.217 MB / 0.5374 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/0.3776, allocations: 12.53 kB / 0.5374 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.3777, allocations: 27.95 kB / 0.5375 GB, free: 2.125 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004075/0.3781, allocations: 230.9 kB / 0.5377 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3782, allocations: 50.2 kB / 0.5377 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.3793, allocations: 0.6385 MB / 0.5384 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3793, allocations: 8.844 kB / 0.5384 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3793, allocations: 1.156 kB / 0.5384 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3793, allocations: 5.047 kB / 0.5384 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.3811, allocations: 1.185 MB / 0.5395 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3811, allocations: 2.25 kB / 0.5395 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.3816, allocations: 73.56 kB / 0.5396 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/0.3818, allocations: 53.83 kB / 0.5396 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.3818, allocations: 12.56 kB / 0.5397 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002339/0.3841, allocations: 2.844 MB / 0.5424 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3842, allocations: 1.062 kB / 0.5424 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.3854, allocations: 0.9599 MB / 0.5434 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.3856, allocations: 153.9 kB / 0.5435 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.3857, allocations: 8.594 kB / 0.5435 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.386, allocations: 13.48 kB / 0.5435 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.386, allocations: 35.89 kB / 0.5436 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.3861, allocations: 16.56 kB / 0.5436 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003323/0.3864, allocations: 292.1 kB / 0.5439 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.883e-06/0.3864, allocations: 0 / 0.5439 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006175/0.387, allocations: 132.8 kB / 0.544 GB, free: 12.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001472/0.3885, allocations: 1.52 MB / 0.5455 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.3899, allocations: 0.7332 MB / 0.5462 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3899, allocations: 0 / 0.5462 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005691/0.3905, allocations: 412.3 kB / 0.5466 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/0.3912, allocations: 125.9 kB / 0.5467 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007835/0.3991, allocations: 5.57 MB / 0.5521 GB, free: 5.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.3997, allocations: 0.9405 MB / 0.5531 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003334/0.4001, allocations: 100.4 kB / 0.5532 GB, free: 4.043 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.4004, allocations: 199.4 kB / 0.5534 GB, free: 3.848 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4004, allocations: 0 / 0.5534 GB, free: 3.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/0.4453, allocations: 12.18 MB / 0.5653 GB, free: 7.863 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.08, allocations: 0 / 0.5653 GB, free: 7.863 MB / 430.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches