Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0008868/0.0008868, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001117/0.001117, allocations: 213.8 kB / 22.26 MB, free: 3.703 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 1.007/1.007, allocations: 230.6 MB / 256 MB, free: 9.82 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.8142/0.8142, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.DynamicLoads,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.001019/0.001019, allocations: 75.33 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5834/0.5844, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004115/0.5886, allocations: 3.393 MB / 0.8212 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00274/0.5913, allocations: 2.126 MB / 0.8232 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.5914, allocations: 12.44 kB / 0.8233 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007069/0.5921, allocations: 298 kB / 0.8235 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.5925, allocations: 238.6 kB / 0.8238 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.593, allocations: 292 kB / 0.824 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004656/0.5934, allocations: 410.1 kB / 0.8244 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.5938, allocations: 173.2 kB / 0.8246 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.5941, allocations: 174 kB / 0.8248 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.5944, allocations: 219.7 kB / 0.825 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.5945, allocations: 24.34 kB / 0.825 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.5948, allocations: 268 kB / 0.8253 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.595, allocations: 124.4 kB / 0.8254 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.5952, allocations: 143.1 kB / 0.8255 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.5958, allocations: 0.4895 MB / 0.826 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5958, allocations: 1.344 kB / 0.826 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5958, allocations: 0 / 0.826 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.5958, allocations: 0 / 0.826 GB, free: 12.36 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008741/0.5967, allocations: 0.5361 MB / 0.8265 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5968, allocations: 8.75 kB / 0.8265 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.619e-05/0.5968, allocations: 64.12 kB / 0.8266 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005663/0.5974, allocations: 120.8 kB / 0.8267 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.5977, allocations: 222.3 kB / 0.8269 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.5977, allocations: 19.55 kB / 0.8269 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.5978, allocations: 43.08 kB / 0.827 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.5985, allocations: 449.8 kB / 0.8274 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5985, allocations: 1.438 kB / 0.8274 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.5986, allocations: 11.69 kB / 0.8274 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.5987, allocations: 38.88 kB / 0.8274 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.5993, allocations: 366.4 kB / 0.8278 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.6014, allocations: 2.156 MB / 0.8299 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.6018, allocations: 248.8 kB / 0.8301 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.602, allocations: 145.5 kB / 0.8303 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.602, allocations: 1.797 kB / 0.8303 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.602, allocations: 37.72 kB / 0.8303 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.254e-06/0.602, allocations: 0 / 0.8303 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001768/0.6038, allocations: 0.9099 MB / 0.8312 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.6038, allocations: 57.98 kB / 0.8313 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.6042, allocations: 262 kB / 0.8315 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.6042, allocations: 27.23 kB / 0.8315 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.6043, allocations: 191.2 kB / 0.8317 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.6044, allocations: 94.06 kB / 0.8318 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.631e-05/0.6045, allocations: 78.41 kB / 0.8319 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.6046, allocations: 331.4 kB / 0.8322 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.6048, allocations: 156.4 kB / 0.8324 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.6051, allocations: 247.3 kB / 0.8326 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/0.6056, allocations: 409.4 kB / 0.833 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6056, allocations: 5.094 kB / 0.833 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008768/0.6065, allocations: 0.5935 MB / 0.8336 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.6065, allocations: 7.969 kB / 0.8336 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.6065, allocations: 3.656 kB / 0.8336 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004474/0.6069, allocations: 196 kB / 0.8338 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.6071, allocations: 62.34 kB / 0.8338 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.6093, allocations: 2.393 MB / 0.8362 GB, free: 5.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.6095, allocations: 27.05 kB / 0.8362 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.6095, allocations: 15.97 kB / 0.8362 GB, free: 5.547 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.6097, allocations: 168.2 kB / 0.8364 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.6097, allocations: 22.55 kB / 0.8364 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/0.6102, allocations: 352.6 kB / 0.8367 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.6102, allocations: 6.094 kB / 0.8367 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.6102, allocations: 0 / 0.8367 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6102, allocations: 6.531 kB / 0.8367 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000868/0.611, allocations: 0.7925 MB / 0.8375 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.611, allocations: 1.094 kB / 0.8375 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.6113, allocations: 73.52 kB / 0.8376 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6113, allocations: 2.469 kB / 0.8376 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.6113, allocations: 7.75 kB / 0.8376 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.6113, allocations: 1.875 kB / 0.8376 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6113, allocations: 5.125 kB / 0.8376 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.6119, allocations: 0.6065 MB / 0.8382 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.449e-05/0.612, allocations: 52.28 kB / 0.8382 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.612, allocations: 8.219 kB / 0.8382 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.6121, allocations: 15.66 kB / 0.8383 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.6121, allocations: 32.36 kB / 0.8383 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.6122, allocations: 5.219 kB / 0.8383 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000165/0.6123, allocations: 188.4 kB / 0.8385 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.6123, allocations: 0 / 0.8385 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002961/0.6126, allocations: 90.36 kB / 0.8386 GB, free: 4.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000861/0.6135, allocations: 1.153 MB / 0.8397 GB, free: 3.387 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000768/0.6142, allocations: 0.5185 MB / 0.8402 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6142, allocations: 0 / 0.8402 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.6144, allocations: 138.5 kB / 0.8403 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.6147, allocations: 56.28 kB / 0.8404 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/0.6187, allocations: 3.704 MB / 0.844 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.6191, allocations: 0.7912 MB / 0.8448 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00018/0.6193, allocations: 79.69 kB / 0.8448 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.6194, allocations: 86.03 kB / 0.8449 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/0.6194, allocations: 0 / 0.8449 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.6432, allocations: 7.24 MB / 0.852 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.016/7.66, allocations: 8.766 kB / 0.852 GB, free: 12.19 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.775587090058252] Failed to read output from testmodel.py, exit status != 0: 7.741471163928509 7.751259188 7.153583776 Calling exit ...