Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008154/0.0008154, allocations: 105.9 kB / 18.93 MB, free: 1.266 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009505/0.0009505, allocations: 214.3 kB / 22.26 MB, free: 3.848 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9799/0.9799, allocations: 230.6 MB / 256 MB, free: 3.574 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8061/0.8061, allocations: 203.8 MB / 0.5042 GB, free: 0.7031 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001/0.001, allocations: 71.89 kB / 0.7182 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5684/0.5694, allocations: 102 MB / 0.8179 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007071/0.5764, allocations: 5.009 MB / 0.8228 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004525/0.581, allocations: 2.568 MB / 0.8253 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005269/0.5815, allocations: 36.66 kB / 0.8253 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008865/0.5824, allocations: 416 kB / 0.8257 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.5835, allocations: 469.9 kB / 0.8261 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008705/0.5844, allocations: 378.6 kB / 0.8265 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.5855, allocations: 0.914 MB / 0.8274 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005866/0.5861, allocations: 320.2 kB / 0.8277 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006941/0.5868, allocations: 358.3 kB / 0.828 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000543/0.5873, allocations: 363.8 kB / 0.8284 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.913e-05/0.5874, allocations: 37.97 kB / 0.8284 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008486/0.5882, allocations: 413.7 kB / 0.8288 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.5884, allocations: 188 kB / 0.829 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.5887, allocations: 321.1 kB / 0.8293 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.59, allocations: 0.8851 MB / 0.8302 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.59, allocations: 0 / 0.8302 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.264e-06/0.59, allocations: 0 / 0.8302 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.5901, allocations: 1.125 kB / 0.8302 GB, free: 17.42 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001596/0.5917, allocations: 0.8859 MB / 0.831 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.5917, allocations: 11.06 kB / 0.831 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.348e-05/0.5918, allocations: 92.7 kB / 0.8311 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009127/0.5927, allocations: 215.1 kB / 0.8313 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.5934, allocations: 474.7 kB / 0.8318 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.5934, allocations: 31.97 kB / 0.8318 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.5935, allocations: 44.95 kB / 0.8319 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008266/0.5943, allocations: 0.8527 MB / 0.8327 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.5944, allocations: 7.438 kB / 0.8327 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.5944, allocations: 24.23 kB / 0.8327 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.596e-05/0.5945, allocations: 70.28 kB / 0.8328 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006735/0.5951, allocations: 0.5674 MB / 0.8333 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.598, allocations: 5.578 MB / 0.8388 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.5985, allocations: 432.1 kB / 0.8392 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.5988, allocations: 208.8 kB / 0.8394 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.5988, allocations: 2.969 kB / 0.8394 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.5988, allocations: 33.81 kB / 0.8394 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 2.485e-06/0.5988, allocations: 0 / 0.8394 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.001834/0.6007, allocations: 1.137 MB / 0.8406 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.6007, allocations: 55.28 kB / 0.8406 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.6011, allocations: 0.4931 MB / 0.8411 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.6012, allocations: 31.17 kB / 0.8411 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.6013, allocations: 365.8 kB / 0.8415 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.6014, allocations: 125.7 kB / 0.8416 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.6015, allocations: 108 kB / 0.8417 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.6016, allocations: 365.2 kB / 0.842 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.6018, allocations: 195.6 kB / 0.8422 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.6021, allocations: 448.3 kB / 0.8427 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/0.6026, allocations: 0.6929 MB / 0.8433 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6026, allocations: 3.062 kB / 0.8433 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009574/0.6036, allocations: 0.8081 MB / 0.8441 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.6036, allocations: 8.031 kB / 0.8441 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.6036, allocations: 8.938 kB / 0.8441 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003522/0.604, allocations: 160.6 kB / 0.8443 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.6043, allocations: 121.8 kB / 0.8444 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.606, allocations: 4.038 MB / 0.8483 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.6064, allocations: 32.8 kB / 0.8484 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.6064, allocations: 31.72 kB / 0.8484 GB, free: 3.234 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.6067, allocations: 216 kB / 0.8486 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.6067, allocations: 63.42 kB / 0.8487 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006809/0.6074, allocations: 0.5983 MB / 0.8493 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.6074, allocations: 3.625 kB / 0.8493 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6074, allocations: 5.344 kB / 0.8493 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.6074, allocations: 6.984 kB / 0.8493 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.6088, allocations: 1.23 MB / 0.8505 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6088, allocations: 3 kB / 0.8505 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.609, allocations: 53.88 kB / 0.8505 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/0.6092, allocations: 143.2 kB / 0.8507 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.6092, allocations: 15.38 kB / 0.8507 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.6112, allocations: 4.025 MB / 0.8546 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6112, allocations: 2.781 kB / 0.8546 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008472/0.612, allocations: 0.7134 MB / 0.8553 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.6122, allocations: 102.7 kB / 0.8554 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.6122, allocations: 10.19 kB / 0.8554 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.6124, allocations: 25.02 kB / 0.8554 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.6125, allocations: 33.44 kB / 0.8555 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.6125, allocations: 12.5 kB / 0.8555 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003243/0.6128, allocations: 329.6 kB / 0.8558 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6128, allocations: 0 / 0.8558 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005481/0.6133, allocations: 143.6 kB / 0.8559 GB, free: 13.42 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (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.0009121/0.6143, allocations: 1.253 MB / 0.8572 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.6153, allocations: 0.8669 MB / 0.858 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6153, allocations: 1.125 kB / 0.858 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000494/0.6158, allocations: 0.5637 MB / 0.8586 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/0.6165, allocations: 212.2 kB / 0.8588 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005332/0.6218, allocations: 5.105 MB / 0.8637 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.6222, allocations: 0.9063 MB / 0.8646 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003605/0.6226, allocations: 113.9 kB / 0.8647 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.6228, allocations: 198.1 kB / 0.8649 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of SimCode: time 1.573e-06/0.6228, allocations: 0 / 0.8649 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04337/0.6662, allocations: 13.21 MB / 0.8778 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/8.122, allocations: 6.125 kB / 0.8778 GB, free: 1.695 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.172412811079994] Failed to read output from testmodel.py, exit status != 0: 8.209675983060151 8.220965213 7.627815388 Calling exit ...