Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0009755/0.0009755, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001027/0.001027, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9183/0.9183, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.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.7465/0.7465, allocations: 154.5 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.035e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02258/0.0226, allocations: 30.79 MB / 0.6481 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01245/0.03506, allocations: 10.15 MB / 0.658 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002806/0.03786, allocations: 202.5 kB / 0.6582 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00541/0.04327, allocations: 3.74 MB / 0.6619 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005255/0.04853, allocations: 2.001 MB / 0.6638 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004245/0.05277, allocations: 2.168 MB / 0.666 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007037/0.05981, allocations: 7.457 MB / 0.6732 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3054/0.3652, allocations: 5.119 MB / 0.6782 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006691/0.3719, allocations: 4.595 MB / 0.6827 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004934/0.3768, allocations: 3.229 MB / 0.6859 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001564/0.3784, allocations: 0.6495 MB / 0.6865 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003503/0.3819, allocations: 1.676 MB / 0.6882 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002215/0.3841, allocations: 2.725 MB / 0.6908 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002217/0.3863, allocations: 2.015 MB / 0.6928 GB, free: 53.31 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007328/0.3937, allocations: 10.32 MB / 0.7029 GB, free: 52.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3937, allocations: 0 / 0.7029 GB, free: 52.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.855e-06/0.3937, allocations: 3.234 kB / 0.7029 GB, free: 52.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000271/0.3939, allocations: 0 / 0.7029 GB, free: 52.77 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01062/0.4046, allocations: 4.991 MB / 0.7077 GB, free: 50.83 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.4046, allocations: 12.97 kB / 0.7078 GB, free: 50.83 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001263/0.4059, allocations: 0.6787 MB / 0.7084 GB, free: 50.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/0.4096, allocations: 0.9915 MB / 0.7094 GB, free: 50.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006134/0.4157, allocations: 2.997 MB / 0.7123 GB, free: 49.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.416, allocations: 351.8 kB / 0.7126 GB, free: 49.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.4171, allocations: 467 kB / 0.7131 GB, free: 49.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01271/0.4298, allocations: 7.969 MB / 0.7209 GB, free: 46.01 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001701/0.43, allocations: 25.75 kB / 0.7209 GB, free: 46.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004817/0.4305, allocations: 202.7 kB / 0.7211 GB, free: 45.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004328/0.4309, allocations: 317.4 kB / 0.7214 GB, free: 45.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.4409, allocations: 5.702 MB / 0.727 GB, free: 43.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02375/0.4647, allocations: 22.65 MB / 0.7491 GB, free: 28.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.4663, allocations: 1.554 MB / 0.7506 GB, free: 28.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.4674, allocations: 1.122 MB / 0.7517 GB, free: 27.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-05/0.4675, allocations: 14.44 kB / 0.7517 GB, free: 27.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.4675, allocations: 47.08 kB / 0.7518 GB, free: 27.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=133): time 3.166e-06/0.4675, allocations: 1.062 kB / 0.7518 GB, free: 27.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=136): time 0.008171/0.4756, allocations: 6.213 MB / 0.7578 GB, free: 25.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.4757, allocations: 65.91 kB / 0.7579 GB, free: 25.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.477, allocations: 1.527 MB / 0.7594 GB, free: 24.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.4771, allocations: 45.58 kB / 0.7594 GB, free: 24.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006556/0.4778, allocations: 2.065 MB / 0.7614 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.478, allocations: 0.4957 MB / 0.7619 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/0.4783, allocations: 347.3 kB / 0.7623 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.016e-05/0.4783, allocations: 304 kB / 0.7625 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008463/0.4792, allocations: 0.9201 MB / 0.7634 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009658/0.4802, allocations: 1.594 MB / 0.765 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.4822, allocations: 2.734 MB / 0.7677 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.4822, allocations: 5.5 kB / 0.7677 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003414/0.4856, allocations: 3.513 MB / 0.7711 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.4856, allocations: 19.56 kB / 0.7711 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.4856, allocations: 21.78 kB / 0.7711 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.4869, allocations: 0.8946 MB / 0.772 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.4876, allocations: 357.8 kB / 0.7724 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009967/0.4975, allocations: 21.71 MB / 0.7936 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.4988, allocations: 103.4 kB / 0.7937 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.499, allocations: 83.03 kB / 0.7937 GB, free: 12.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002388/0.5013, allocations: 1.606 MB / 0.7953 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/0.5017, allocations: 219 kB / 0.7955 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/0.505, allocations: 2.963 MB / 0.7984 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.505, allocations: 15.94 kB / 0.7984 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.82e-05/0.5051, allocations: 12 kB / 0.7984 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.5051, allocations: 7.969 kB / 0.7984 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00953/0.5146, allocations: 6.725 MB / 0.805 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.5146, allocations: 4 kB / 0.805 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.5151, allocations: 178.1 kB / 0.8052 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/0.5164, allocations: 0.8217 MB / 0.806 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.959e-05/0.5164, allocations: 31.94 kB / 0.806 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/0.5296, allocations: 20.57 MB / 0.8261 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5296, allocations: 11.41 kB / 0.8261 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003643/0.5333, allocations: 3.011 MB / 0.8291 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009915/0.5343, allocations: 386.5 kB / 0.8294 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.5344, allocations: 28 kB / 0.8295 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/0.5349, allocations: 71.91 kB / 0.8295 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/0.5352, allocations: 128.2 kB / 0.8296 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/0.5353, allocations: 39.94 kB / 0.8297 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001124/0.5364, allocations: 0.987 MB / 0.8306 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8e-08/0.5364, allocations: 0 / 0.8306 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002495/0.5389, allocations: 0.7852 MB / 0.8314 GB, free: 5.508 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003537/0.5424, allocations: 3.59 MB / 0.8349 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004279/0.5467, allocations: 3.902 MB / 0.8387 GB, free: 13.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.5467, allocations: 7.938 kB / 0.8387 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/0.5489, allocations: 2.663 MB / 0.8413 GB, free: 11.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.5512, allocations: 0.7359 MB / 0.8421 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0305/0.5817, allocations: 22.53 MB / 0.8641 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002658/0.5843, allocations: 2.561 MB / 0.8666 GB, free: 476 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009382/0.5853, allocations: 454 kB / 0.867 GB, free: 20 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/0.5865, allocations: 1.531 MB / 0.8685 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of SimCode: time 1.012e-06/0.5865, allocations: 4 kB / 0.8685 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/0.6947, allocations: 65.72 MB / 0.9327 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.605/9.3, allocations: 3.938 kB / 0.9327 GB, free: 13.89 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.23921744339168] Failed to read output from testmodel.py, exit status != 0: 9.42059871274978 9.428864649 9.033308805 Calling exit ...