Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001182/0.001182, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001228/0.001228, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.9681/0.9681, allocations: 230.6 MB / 256 MB, free: 9.617 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.7812/0.7812, allocations: 203.8 MB / 0.5042 GB, free: 10.39 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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.0014/0.0014, allocations: 66.39 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4976, allocations: 102 MB / 0.8178 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01171/0.5093, allocations: 13.29 MB / 0.8308 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01229/0.5216, allocations: 9.154 MB / 0.8397 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.523, allocations: 77.34 kB / 0.8398 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.5256, allocations: 1.655 MB / 0.8414 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004144/0.5297, allocations: 1.589 MB / 0.843 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.5313, allocations: 0.761 MB / 0.8437 GB, free: 4 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003119/0.5344, allocations: 2.544 MB / 0.8462 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.5358, allocations: 1.176 MB / 0.8473 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.5375, allocations: 1.128 MB / 0.8484 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.5388, allocations: 1.097 MB / 0.8495 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002278/0.5391, allocations: 165.8 kB / 0.8497 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.5403, allocations: 0.7221 MB / 0.8504 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006929/0.541, allocations: 0.6372 MB / 0.851 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007279/0.5417, allocations: 0.7665 MB / 0.8517 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002637/0.5443, allocations: 2.778 MB / 0.8544 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.5443, allocations: 7.922 kB / 0.8545 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5443, allocations: 0 / 0.8545 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.379e-05/0.5444, allocations: 1.531 kB / 0.8545 GB, free: 9.266 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00423/0.5487, allocations: 2.113 MB / 0.8565 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.5487, allocations: 9.094 kB / 0.8565 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000224/0.5489, allocations: 195.2 kB / 0.8567 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006472/0.5554, allocations: 2.094 MB / 0.8588 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.558, allocations: 1.216 MB / 0.8599 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.27e-05/0.5581, allocations: 89.73 kB / 0.86 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/0.5583, allocations: 125.4 kB / 0.8602 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/0.5634, allocations: 3.08 MB / 0.8632 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.9e-05/0.5635, allocations: 10.45 kB / 0.8632 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.5636, allocations: 55.05 kB / 0.8632 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005135/0.5642, allocations: 183.2 kB / 0.8634 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005759/0.5699, allocations: 2.793 MB / 0.8661 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.5808, allocations: 8.339 MB / 0.8743 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/0.5844, allocations: 2.22 MB / 0.8764 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/0.5861, allocations: 1.21 MB / 0.8776 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.5862, allocations: 9 kB / 0.8776 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.5862, allocations: 39.56 kB / 0.8777 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 2.745e-06/0.5862, allocations: 0 / 0.8777 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.02465/0.6109, allocations: 12.67 MB / 0.89 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.6109, allocations: 68.72 kB / 0.8901 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.6121, allocations: 1.129 MB / 0.8912 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.6122, allocations: 45.7 kB / 0.8913 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/0.6126, allocations: 0.7325 MB / 0.892 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003846/0.613, allocations: 471.9 kB / 0.8924 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.6133, allocations: 259.5 kB / 0.8927 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6134, allocations: 365.9 kB / 0.893 GB, free: 7.77 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.6155, allocations: 1.343 MB / 0.8943 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.6175, allocations: 1.596 MB / 0.8959 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003808/0.6213, allocations: 3.006 MB / 0.8988 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.6213, allocations: 4 kB / 0.8988 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006694/0.628, allocations: 4.404 MB / 0.9031 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.628, allocations: 8 kB / 0.9031 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.628, allocations: 4 kB / 0.9031 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/0.631, allocations: 1.43 MB / 0.9045 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.6321, allocations: 431.3 kB / 0.9049 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/0.6499, allocations: 25.1 MB / 0.9295 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.6517, allocations: 311.5 kB / 0.9298 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.6518, allocations: 59.97 kB / 0.9298 GB, free: 328 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007439/0.6526, allocations: 441.5 kB / 0.9302 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.6528, allocations: 171 kB / 0.9304 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006545/0.6593, allocations: 4.41 MB / 0.9347 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.6593, allocations: 12 kB / 0.9347 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.357e-05/0.6594, allocations: 12.11 kB / 0.9347 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6594, allocations: 7.922 kB / 0.9347 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009479/0.6688, allocations: 6.292 MB / 0.9409 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.6688, allocations: 4 kB / 0.9409 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009644/0.6698, allocations: 383.6 kB / 0.9412 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002842/0.6727, allocations: 1.305 MB / 0.9425 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.6728, allocations: 43.97 kB / 0.9426 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/0.6884, allocations: 23.97 MB / 0.966 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6884, allocations: 4 kB / 0.966 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006549/0.6949, allocations: 4.168 MB / 0.97 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008104/0.6957, allocations: 383 kB / 0.9704 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.6959, allocations: 35.94 kB / 0.9704 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.697, allocations: 307.5 kB / 0.9707 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/0.6973, allocations: 136.6 kB / 0.9709 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-05/0.6974, allocations: 51.97 kB / 0.9709 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007343/0.6982, allocations: 0.7487 MB / 0.9717 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6982, allocations: 0 / 0.9717 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00149/0.6996, allocations: 0.5703 MB / 0.9722 GB, free: 3.078 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006789/0.7064, allocations: 4.747 MB / 0.9768 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006676/0.7131, allocations: 4.974 MB / 0.9817 GB, free: 9.082 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.7131, allocations: 4.125 kB / 0.9817 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004192/0.7173, allocations: 3.409 MB / 0.985 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.7192, allocations: 0.5543 MB / 0.9856 GB, free: 4.973 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/0.7469, allocations: 19.35 MB / 1.004 GB, free: 1.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/0.7477, allocations: 0.8834 MB / 1.005 GB, free: 268 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001108/0.7488, allocations: 421.6 kB / 1.006 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006021/0.7494, allocations: 0.632 MB / 1.006 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of SimCode: time 1.493e-06/0.7494, allocations: 4 kB / 1.006 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08805/0.8375, allocations: 56.37 MB / 1.061 GB, free: 7.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.846, allocations: 7.609 kB / 1.061 GB, free: 7.566 MB / 0.8386 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.873859148938209] Failed to read output from testmodel.py, exit status != 0: 8.951629600021988 8.961611246 8.415307381 Calling exit ...